package ecnu.ecgbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("developer")
public class Developer implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String company;
    private String department;
    private String position;
    private String workLocation;
    private Date joiningDate;
    private Integer integral;

}
